package com.service.role;

import com.entity.Role2Menu;
import com.facade.role.IRole2MenuFacadeCUD;
import com.mapper.CustomMapper;
import com.mapper.Role2MenuMapper;
import com.service.CustomServiceCUD;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class Role2MenuServiceCUD extends CustomServiceCUD<Role2Menu> implements IRole2MenuFacadeCUD {

    @Resource
    private Role2MenuMapper mapper;

    @Override
    protected CustomMapper<Role2Menu> initMapper() {
        return mapper;
    }
}